package com.kun.example.rpc;

import com.kun.example.IOrderService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 小K
 * @date 2022/4/10 0010 - 上午 11:22
 */
@RestController
public class TestController {

    @FkReference
    IOrderService orderService;

    @GetMapping("/test")
    public String test(){
        return orderService.queryOrderList();
    }
}
